﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace HamcoWcs.DAL.Migrations
{
    public partial class A28 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "PalletStatus",
                table: "pallet_info",
                type: "varchar(100)",
                maxLength: 100,
                nullable: true,
                defaultValue: "",
                comment: "栈板状态")
                .Annotation("MySql:CharSet", "utf8mb4");

            migrationBuilder.AddColumn<string>(
                name: "PalletType",
                table: "pallet_info",
                type: "varchar(100)",
                maxLength: 100,
                nullable: true,
                defaultValue: "",
                comment: "栈板类型")
                .Annotation("MySql:CharSet", "utf8mb4");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "PalletStatus",
                table: "pallet_info");

            migrationBuilder.DropColumn(
                name: "PalletType",
                table: "pallet_info");
        }
    }
}
